$ErrorActionPreference = "Stop"
pyinstaller `
  --name ZebraNoYield `
  --onefile `
  --noconsole `
  --add-data "configs;configs" `
  --add-data "assets;assets" `
  --hidden-import ultralytics `
  --collect-all ultralytics `
  --collect-all torchvision `
  --collect-submodules torch `
  src/app.py

